package com.mybatisplus.pojo;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@TableName("teachers")
@AllArgsConstructor
@NoArgsConstructor
public class Teacher {
    @TableId
    private Integer id;
    private String name;
    private String subject;
    private String contact;
    private String email;


}